package com.ctg.payroll2.dao.extinterface;

public class Test1 {

	/**
	 * @param args
	 * @throws InterruptedException 
	 */
	static boolean isover=false;
	public static void main(String[] args) throws InterruptedException {
		Trone ts = new Trone();
		Thread t = new Thread(ts);
		
	
		
		while(isover){
			
		}
		
		for(int i=0;i<=20;i++){ 
			t.run();
		}
		

	}

	int k=200000000;
	static boolean m1(){
		int i=0;
		
		while(i!=200000000){
			i++;
		}
		isover=true;
		return isover;
	}

}

class Trone implements Runnable{

	public void run() {
		boolean b=Test1.isover;
		System.out.println(b);
			
	}
}